package ch04.ex2_3_2_ImplementingPropertiesDeclaredInInterfaces1

/**
 * Created by caozp-ytcyc2007 on 2017/5/25.
 */

interface  User {
    val email: String
    val nickname: String
        get() = email.substringBefore('@')
}